package com.erp.data;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.sql.Timestamp;


/**
 * The persistent class for the erpbasegroup database table.
 * 
 */
@Entity
@Table(name="erpbasegroup")
public class ErpbaseGroup implements Serializable {
	private static final long serialVersionUID = 1L;
	private long groupId;
	private Timestamp dateEntry;
	private Timestamp dateModify;
	private String groupName;
	private String note;
	private BigDecimal structLevel;
	private BigDecimal upGroupId;

    public ErpbaseGroup() {
    }


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="GROUP_ID", unique=true, nullable=false, precision=10)
	public long getGroupId() {
		return this.groupId;
	}

	public void setGroupId(long groupId) {
		this.groupId = groupId;
	}


	@Column(name="DATE_ENTRY")
	public Timestamp getDateEntry() {
		return this.dateEntry;
	}

	public void setDateEntry(Timestamp dateEntry) {
		this.dateEntry = dateEntry;
	}


	@Column(name="DATE_MODIFY")
	public Timestamp getDateModify() {
		return this.dateModify;
	}

	public void setDateModify(Timestamp dateModify) {
		this.dateModify = dateModify;
	}


	@Column(name="GROUP_NAME", nullable=false, length=128)
	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}


	@Column(name="NOTE", length=256)
	public String getNote() {
		return this.note;
	}

	public void setNote(String note) {
		this.note = note;
	}


	@Column(name="STRUCT_LEVEL", precision=10)
	public BigDecimal getStructLevel() {
		return this.structLevel;
	}

	public void setStructLevel(BigDecimal structLevel) {
		this.structLevel = structLevel;
	}


	@Column(name="UP_GROUP_ID", precision=10)
	public BigDecimal getUpGroupId() {
		return this.upGroupId;
	}

	public void setUpGroupId(BigDecimal upGroupId) {
		this.upGroupId = upGroupId;
	}

}